gnu: Add rust-pkg-config.
* gnu/packages/crates-io.scm (rust-pkg-config): New variable.
This commit is contained in:
		
							parent
							
								
									0e4448d138
								
							
						
					
					
						commit
						b9d061a925
					
				
					 1 changed files with 28 additions and 1 deletions
				
			
		| 
						 | 
					@ -22,7 +22,8 @@
 | 
				
			||||||
  #:use-module (guix build-system cargo)
 | 
					  #:use-module (guix build-system cargo)
 | 
				
			||||||
  #:use-module (guix download)
 | 
					  #:use-module (guix download)
 | 
				
			||||||
  #:use-module ((guix licenses) #:prefix license:)
 | 
					  #:use-module ((guix licenses) #:prefix license:)
 | 
				
			||||||
  #:use-module (guix packages))
 | 
					  #:use-module (guix packages)
 | 
				
			||||||
 | 
					  #:use-module (gnu packages pkg-config))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; Please: Try to add new module packages in alphabetic order.
 | 
					;;; Please: Try to add new module packages in alphabetic order.
 | 
				
			||||||
| 
						 | 
					@ -901,6 +902,32 @@ algorithm.")
 | 
				
			||||||
    (license (list license:asl2.0
 | 
					    (license (list license:asl2.0
 | 
				
			||||||
                   license:expat))))
 | 
					                   license:expat))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public rust-pkg-config
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "rust-pkg-config")
 | 
				
			||||||
 | 
					    (version "0.3.14")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					      (origin
 | 
				
			||||||
 | 
					        (method url-fetch)
 | 
				
			||||||
 | 
					        (uri (crate-uri "pkg-config" version))
 | 
				
			||||||
 | 
					        (file-name (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
 | 
					        (sha256
 | 
				
			||||||
 | 
					         (base32
 | 
				
			||||||
 | 
					          "135ia995lqzr0gxpk85h0bjxf82kj6hbxdx924sh9jdln6r8wvk7"))))
 | 
				
			||||||
 | 
					    (build-system cargo-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:cargo-development-inputs
 | 
				
			||||||
 | 
					       (("rust-lazy-static" ,rust-lazy-static))))
 | 
				
			||||||
 | 
					    (inputs
 | 
				
			||||||
 | 
					     `(("pkg-config" ,pkg-config)))
 | 
				
			||||||
 | 
					    (home-page "https://github.com/alexcrichton/pkg-config-rs")
 | 
				
			||||||
 | 
					    (synopsis "Library to run the pkg-config system tool")
 | 
				
			||||||
 | 
					    (description
 | 
				
			||||||
 | 
					     "A library to run the pkg-config system tool at build time in order to be
 | 
				
			||||||
 | 
					used in Cargo build scripts.")
 | 
				
			||||||
 | 
					    (license (list license:asl2.0
 | 
				
			||||||
 | 
					                   license:expat))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public rust-plain
 | 
					(define-public rust-plain
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "rust-plain")
 | 
					    (name "rust-plain")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue